Keep users from typing in all caps, but still allow for capital letter strings for things like initials (JPC) or uppercase abbreviations (NASA or WWII). You can easily change the number of capital letters allowed in a row after which the capital letterstring is converted to lowercase. |
JavaScript Source Code 2002: Forms: Clean CAPS
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
|